package cn.congzhou.crm.service.impl;

import cn.congzhou.crm.mapper.ChartMapper;
import cn.congzhou.crm.query.ChartQueryObject;
import cn.congzhou.crm.service.IChartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ChartServiceImpl implements IChartService {

    @Autowired
    private ChartMapper chartMapper;

    //查询客户报表数据
    @Override
    public List<Map<String,Object>> queryChart(ChartQueryObject qo) {
        List<Map<String, Object>> maps = chartMapper.queryChart(qo);
        return maps;
    }
}
